package com.feicheng.iou.pojo.login;

import com.feicheng.iou.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.List;
/**
 *
 *   <p>
 *    封装所有用户的集合及分页信息
 *   </p>
 *
 * @author wuweinan
 * @since 2021-7-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class UserPagePOJO {

    private Integer page;  //页码
    private Integer size;  //页面条数
    private Integer totalCount;  //总条数
    private Integer totalPage;  //总页数
    private List<User> userList;  //用户集合

}
